package com.design.pattern.abstractfactory.factory;

import com.design.pattern.abstractfactory.product.Audi;
import com.design.pattern.abstractfactory.product.BenZ;
import com.design.pattern.abstractfactory.product.Bmw;

/**
 * Created by Administrator on 2016/5/17.
 * 抽象工厂，根据产品族生产
 */
public abstract class Factory {
    public abstract BenZ createBenZ(String carName);
    public abstract Bmw createBmw(String carName);
    public abstract Audi createAudi(String carName);
}
